def printGraph(width,height,chart):
    for x in range(1,width+1):
        for y in range(1,height+1):
            print chart,
        print

printGraph(5,5,"*")
printGraph(4,3,"*")
printGraph(2,6,"!")
